package com.ruoyi.teacher.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.help.domain.StudentAfter;
import com.ruoyi.help.vo.StudentAfterVo;
import com.ruoyi.teacher.dto.StudentAfterDto;
import com.ruoyi.teaching.domain.TeacherStalke;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import javax.annotation.security.DenyAll;

/**
 * 日报对象 bbl_daily_paper
 *
 * @author ruoyi
 * @date 2023-05-19
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DailyPaper extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 日报id
     */
    private Long id;

    /**
     * 教师id
     */
    @Excel(name = "教师id")
    private Long teacherId;

    /**
     * 教师名
     */
    @Excel(name = "教师名")
    private Teacher teacher;

    /**
     * 日报时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日报时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date logTime;

    /**
     * 日报内容
     */
    @Excel(name = "日报内容")
    private String content;

    /**
     * 教学跟踪集合
     */
    private List<TeacherStalke> teachingTracks;

    /**
     * 就业状态集合
     */
    private List<StudentAfterDto> studentTracks;
}
